#ifndef SMTPCLIENT_H_INCLUDED
#define SMTPCLIENT_H_INCLUDED

#include <string>
#include "Mail.h"
#include "TcpClient.h"
#include "SmtpProtocol.h"

class SmtpClient
{
	private:
		TcpClient *	_tcpClient;
		bool		_init;

 public:
		SmtpClient(std::string ip, int port);
		~SmtpClient();

	int	sendMail ( const Mail & mail);
	bool	isInit() const;
};

#endif
